package designPattern.builderPattern;

public class XiaoMiBuilder implements PhoneBuilder {

	private Phone phone  = new Phone();

	@Override
	public void buildCpu() {
		phone.setCpu("XiaoMiCpu");
	}

	@Override
	public void buildMemory() {
		phone.setMemory("XiaomiMemory");
	}

	public Phone getPhone() {
		return phone;
	}
}
